import request from '@/utils/axiosUtil'

class DiocmApi {
  static diocmApi: DiocmApi = new DiocmApi()

  findDiocmView(id: string, moduleName: string) {
    return request.get(
      `DICOM/GetDICOMDetailJson?id=${id}&moduleName=${moduleName}`,
      false
    )
    console.log();
    
  }

  findExamDetail(moduleName: string, id: string) {
    return request.get(`ToPacs/ExamDetail/${moduleName}/${id}`, false)
  }
}

export default DiocmApi.diocmApi
